package com.hdyg.sixg.adapter;

import android.support.annotation.Nullable;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.hdyg.sixg.R;
import com.hdyg.sixg.entry.BuyMiniBean;
import java.util.List;

/**
 * @author CZB
 * @describe 支付方式适配器
 * @time 2019/3/20 14:22
 */
public class PayMethodAdapter extends BaseQuickAdapter<BuyMiniBean.PayWayBean, BaseViewHolder> {
    public PayMethodAdapter(int layoutResId, @Nullable List<BuyMiniBean.PayWayBean> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, BuyMiniBean.PayWayBean item) {
        helper.setText(R.id.tv_text, item.getName());
    }
}
